package org.mysocial.services.dao.impl;

import javax.ejb.Local;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.mysocial.datamodel.Message;
import org.mysocial.services.dao.MessageDAO;

/**
 * Session Bean implementation class FriendshipDAOImpl
 */
@Stateless
@Local(MessageDAO.class)
public class MessageDAOImpl extends AbstractGenericDAO<Message, Long> implements
    MessageDAO
{

	@Override
	@PersistenceContext
	public void setEntityManager(EntityManager entityManager)
	{
		this.entityManager = entityManager;
	}

}
